<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
      .hello-enter-from,.hello-leave-to{
        opacity: 0;
      }
      .hello-enter-active{
        transition: opacity 2s ease-in;
      }
      .hello-enter-to,.hello-leave-from{
        opacity: 1;
      }
      .hello-enter-active{
        transition:opacity 2s ease-out;
      }
    </style>
</head>

<body>
    <div id="demo">
        Push this button to do something you shouldn't be doing:<br />

        <div :class="{ shake: Activated }">
            <button @click="noActivated = true">Click me</button>
            <span v-if="noActivated">Oh no!</span>
        </div>
    </div>
</body>
<script src="https://unpkg.com/vue@next"></script>
<script>
    const Demo = {
        data() {
            return {
                noActivated: false
            }
        },
        methods:{
            handleClick(){
                this.isShow = !this.isShow
            }
        },
        template:`
        <div>
            <transition name="animate_animate animate__bounce"
             enter-active-class="animate__bounce"
             leave-active-class="animate__bounceOutDown" appear
        </div>
        `
    }

    

    Vue.createApp(Demo).mount('#demo')
</script>

</html>